// ogre_iphone.cpp : Defines the entry point for the application.
//

#include "OgreDemoApp.h"

INT WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, INT)
{
	try
	{
		DemoApp demo;
		demo.startDemo();
	}
	catch(Ogre::Exception& e)
	{
		MessageBoxA(NULL, e.what(), "An exception has occurred!", MB_OK | MB_ICONERROR | MB_TASKMODAL);
	}

	return 0;
}